#ifndef MYPOINT_H
#define MYPOINT_H

#include <QtGlobal>

class myPoint
{
public:
    myPoint();
    myPoint(int x, int y, int g);
    myPoint(const myPoint&);
    ~myPoint();

    int x() const;
    void setX(int ax);
    int y() const;
    void setY(int ay);
    int group() const;
    void setGroup(int g);

    bool operator ==(const myPoint& b) const;
    bool operator !=(const myPoint& b) const;

private:
    int m_x;
    int m_y;
    int m_g;
};

#endif // MYPOINT_H
